package demo3;

public class Test {
    public static void main(String[] args) {
        MySingleList mySingleList = new MySingleList();
        mySingleList.createList();
        System.out.println("sgsgsdgsd");
        mySingleList.show();
        int a = mySingleList.size();
        System.out.println(a);
        System.out.println(mySingleList.contains(12));
        System.out.println(mySingleList.contains(56));
        System.out.println(mySingleList.contains(66));
        mySingleList.addFirst(99);
        System.out.println("sdvsd");
        mySingleList.addLast(99);
        mySingleList.addIndex(1,55);
        mySingleList.show();
        mySingleList.clear();
        mySingleList.show();




    }
}
